1bashThis demonstrates using nmap to perform a ping scan on a local IP range to identify active hosts on the network.nmap -sP 192.168.1.1/24external toolsnmapnetwork scanningping scan